# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-serpentarium
_pkgname=serpentarium
pkgver=0.6.1
pkgrel=6
pkgdesc='A Python framework for running plugins with conflicting dependencies.'
arch=('any')
url='https://pypi.org/project/serpentarium/#files'
license=('GPL3')
depends=('python' 'python-typing_extensions')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('4f38a8b7de5c325ff22db804aab7c173876bfd5ce764bb795824030b87f0c59a572d26962e30d7167974cb7b5a8a2ab72049f10aa9fe91dc3890e7f3c4c3af51')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

